/** 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package it.free.i.virtual.machine.hal.devicealias.command;

import it.free.i.virtual.machine.hal.devicealias.DataBag;

import java.io.Serializable;

/**  
 * Generic DTO to transmit from the device controller observable singleton, a command to all the 
 * observer impl of the device alias interface
 * @author stefano
 */
public interface DeviceAliasPortCommand extends DeviceCommand, DataBag, Serializable {
	
	public static final String IMPL_CLASS_PROP_NAME = "devicealiascommandport.implementation.class";
	public static final String IMPL_NAME_PROP_NAME = "devicealiascommandport.implementation.name";

	/**
	 * Return one of the allowed command to be executed for the device alias port
	 * @return the device alias command to perform a switch case like selection
	 */
	public DeviceAliasPortCommandVerb getVerb();
	
	/**
	 * Set command to be executed
	 * @param deviceAliasPortCommandVerb is the device alias port command to set
	 */
	public void setVerb(DeviceAliasPortCommandVerb deviceAliasPortCommandVerb);
}
